package com.wangqinlei.cowims126.mapper;


import com.wangqinlei.cowims126.pojo.Cow;

import java.util.List;
import java.util.Map;

/**
 * @author 王勤磊
 */
public interface CowMapper {
    List<Cow> queryList(Map<String, Object> paramMap);

    Integer queryCount(Map<String, Object> paramMap);

    int deleteCow(List<Integer> ids);

    int addCow(Cow Cow);

    Cow findById(Integer sid);

    int editCow(Cow Cow);

    Cow findByCow(Cow Cow);

    List<Cow> isCowByCategoryId(Integer id);


    int findBySn(String sn);
}
